home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 1998 November
/
Freeware November 1998.img
/
dist
/
fw_UDELxntp.idb
/
usr
/
freeware
/
src
/
xntp-3.4o-export
/
lib
/
inttoa.c.z
/
inttoa.c
Wrap
C/C++ Source or Header
|
1998-01-21
|
253b
|
20 lines
/*
* inttoa - return an asciized signed integer
*/
#include <stdio.h>
#include "lib_strbuf.h"
#include "ntp_stdlib.h"
char *
inttoa(ival)
long ival;
{
register char *buf;
LIB_GETBUF(buf);
(void) sprintf(buf, "%ld", (long)ival);
return buf;
}